require('dotenv').config();

const config = {
  dialect: 'mysql',
  host: process.env.DB_HOST,
  port: 3306,
  database: process.env.DB_NAME,
  username: process.env.DB_USER,
  password: process.env.DB_PWD,
  timestamp: false,
  timezone: process.env.TIMEZONE
};

module.exports = {
  development: config,
  production: config,
};
